//
//  NSUserDefaults+XJL.m
//  XJL_WeChat
//
//  Created by XJL on 16/7/31.
//  Copyright © 2016年 Xujiali. All rights reserved.
//

#import "NSUserDefaults+XJL.h"

@implementation NSUserDefaults (XJL)

+(void)saveLastLoginAcount:(NSString *)account{
    NSUserDefaults *defautls = [NSUserDefaults standardUserDefaults];
    [defautls setObject:account forKey:@"lastLoginAccount"];
    [defautls synchronize];
}

+(NSString *)getLastLoginAccount{
    return [[NSUserDefaults standardUserDefaults] objectForKey:@"lastLoginAccount"];
}

@end
